package com.edu.app.service.sys.linkservices;

import com.edu.app.bean.core.SysRole;
import com.edu.app.bean.linkbeans.SysUserRole;
import com.edu.app.service.sys.BaseService;


import java.util.List;

public interface SysUserRoleService extends BaseService<SysUserRole> {
    List<SysRole> getRoleListByUserId(Integer id);
    SysUserRole getUserRole(Integer user_id, Integer role_id);
    Integer deleteUserRoleByUserId(Integer user_id);
    Integer deleteUserRoleByRoleId(Integer role_id);
}
